#ifndef ANIMATION_H_INCLUDED
#define ANIMATION_H_INCLUDED

#include <SFML/Graphics.hpp>

class Animation{

private:
    int currentFrame;
    int minFrame;
    int maxFrame;
    int frameRate;
    int elapsedTime;
    int lastTime;
    int frameInc;

    bool oscillate;

public:
    Animation();
    void Update(sf::Clock& clock);
    void setFrameRate(int);
    int getCurrentFrame();
    void toggleOscillate();
    void setCurrentFrame(int);
};

#endif // ANIMATION_H_INCLUDED
